package com.darren.euc.service;

import java.util.List;

import com.darren.euc.entity.ContractHirePurchase;
import com.darren.euc.entity.PageBean;

import net.sf.json.JSONObject;

public interface ContractHirePurchaseService {
    
	public ContractHirePurchase save(ContractHirePurchase contractHirePurchase);
	    
	public ContractHirePurchase update(ContractHirePurchase contractHirePurchase);
	
	public ContractHirePurchase findById(Integer id);
	
	public ContractHirePurchase delete(ContractHirePurchase contractHirePurchase);
    
	public List<ContractHirePurchase> getAll();
    
	public PageBean queryForPageUseHQL(JSONObject requestJson,Integer pageSize, Integer currentPage);

	

}